package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 任职经历对象 work_experience
 * 
 * @author ruoyi
 * @date 2021-02-23
 */
public class WorkExperience extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 开始时间 */
    @Excel(name = "开始时间")
    private String startTime;

    /** 结束时间 */
    @Excel(name = "结束时间")
    private String endTime;

    /** 组织信息 */
    @Excel(name = "组织信息")
    private String organizationInfo;

    /** 职位 */
    @Excel(name = "职位")
    private String position;

    /** 职等 */
    @Excel(name = "职等")
    private String positionLevel;

    /** 用工关系状态 */
    @Excel(name = "用工关系状态")
    private String employRelationState;

    /** 变动操作 */
    @Excel(name = "变动操作")
    private String changeOperation;

    /** 变动类型 */
    @Excel(name = "变动类型")
    private String changeType;

    /** 变动原因 */
    @Excel(name = "变动原因")
    private String changeReason;

    /** 合同类型 */
    @Excel(name = "合同类型")
    private String contractType;

    public String getContractType() {
        return contractType;
    }

    public void setContractType(String contractType) {
        this.contractType = contractType;
    }

    /** 租户id */
    @Excel(name = "租户id")
    private Long tenantId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStartTime(String startTime) 
    {
        this.startTime = startTime;
    }

    public String getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(String endTime) 
    {
        this.endTime = endTime;
    }

    public String getEndTime() 
    {
        return endTime;
    }
    public void setOrganizationInfo(String organizationInfo) 
    {
        this.organizationInfo = organizationInfo;
    }

    public String getOrganizationInfo() 
    {
        return organizationInfo;
    }
    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPositionLevel() {
        return positionLevel;
    }
    public void setPositionLevel(String positionLevel) {
        this.positionLevel = positionLevel;
    }

    public String getPosition() 
    {
        return position;
    }
    public void setEmployRelationState(String employRelationState) 
    {
        this.employRelationState = employRelationState;
    }

    public String getEmployRelationState() 
    {
        return employRelationState;
    }
    public void setChangeOperation(String changeOperation) 
    {
        this.changeOperation = changeOperation;
    }

    public String getChangeOperation() 
    {
        return changeOperation;
    }
    public void setChangeType(String changeType) 
    {
        this.changeType = changeType;
    }

    public String getChangeType() 
    {
        return changeType;
    }
    public void setChangeReason(String changeReason) 
    {
        this.changeReason = changeReason;
    }

    public String getChangeReason() 
    {
        return changeReason;
    }
    public void setTenantId(Long tenantId) 
    {
        this.tenantId = tenantId;
    }

    public Long getTenantId() 
    {
        return tenantId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("organizationInfo", getOrganizationInfo())
            .append("position", getPosition())
            .append("positionLevel", getPositionLevel())
            .append("employRelationState", getEmployRelationState())
            .append("changeOperation", getChangeOperation())
            .append("changeType", getChangeType())
            .append("changeReason", getChangeReason())
            .append("contractType", getContractType())
            .append("tenantId", getTenantId())
            .append("userId", getUserId())
            .toString();
    }
}
